package com.cn.mmd.model;

import java.util.ArrayList;
import java.util.List;

public class TeacherRankingExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TeacherRankingExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTeacheridIsNull() {
            addCriterion("teacherId is null");
            return (Criteria) this;
        }

        public Criteria andTeacheridIsNotNull() {
            addCriterion("teacherId is not null");
            return (Criteria) this;
        }

        public Criteria andTeacheridEqualTo(String value) {
            addCriterion("teacherId =", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridNotEqualTo(String value) {
            addCriterion("teacherId <>", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridGreaterThan(String value) {
            addCriterion("teacherId >", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridGreaterThanOrEqualTo(String value) {
            addCriterion("teacherId >=", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridLessThan(String value) {
            addCriterion("teacherId <", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridLessThanOrEqualTo(String value) {
            addCriterion("teacherId <=", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridLike(String value) {
            addCriterion("teacherId like", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridNotLike(String value) {
            addCriterion("teacherId not like", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridIn(List<String> values) {
            addCriterion("teacherId in", values, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridNotIn(List<String> values) {
            addCriterion("teacherId not in", values, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridBetween(String value1, String value2) {
            addCriterion("teacherId between", value1, value2, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridNotBetween(String value1, String value2) {
            addCriterion("teacherId not between", value1, value2, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacherrankingIsNull() {
            addCriterion("teacherRanking is null");
            return (Criteria) this;
        }

        public Criteria andTeacherrankingIsNotNull() {
            addCriterion("teacherRanking is not null");
            return (Criteria) this;
        }

        public Criteria andTeacherrankingEqualTo(Integer value) {
            addCriterion("teacherRanking =", value, "teacherranking");
            return (Criteria) this;
        }

        public Criteria andTeacherrankingNotEqualTo(Integer value) {
            addCriterion("teacherRanking <>", value, "teacherranking");
            return (Criteria) this;
        }

        public Criteria andTeacherrankingGreaterThan(Integer value) {
            addCriterion("teacherRanking >", value, "teacherranking");
            return (Criteria) this;
        }

        public Criteria andTeacherrankingGreaterThanOrEqualTo(Integer value) {
            addCriterion("teacherRanking >=", value, "teacherranking");
            return (Criteria) this;
        }

        public Criteria andTeacherrankingLessThan(Integer value) {
            addCriterion("teacherRanking <", value, "teacherranking");
            return (Criteria) this;
        }

        public Criteria andTeacherrankingLessThanOrEqualTo(Integer value) {
            addCriterion("teacherRanking <=", value, "teacherranking");
            return (Criteria) this;
        }

        public Criteria andTeacherrankingIn(List<Integer> values) {
            addCriterion("teacherRanking in", values, "teacherranking");
            return (Criteria) this;
        }

        public Criteria andTeacherrankingNotIn(List<Integer> values) {
            addCriterion("teacherRanking not in", values, "teacherranking");
            return (Criteria) this;
        }

        public Criteria andTeacherrankingBetween(Integer value1, Integer value2) {
            addCriterion("teacherRanking between", value1, value2, "teacherranking");
            return (Criteria) this;
        }

        public Criteria andTeacherrankingNotBetween(Integer value1, Integer value2) {
            addCriterion("teacherRanking not between", value1, value2, "teacherranking");
            return (Criteria) this;
        }

        public Criteria andTeacheravgIsNull() {
            addCriterion("teacheravg is null");
            return (Criteria) this;
        }

        public Criteria andTeacheravgIsNotNull() {
            addCriterion("teacheravg is not null");
            return (Criteria) this;
        }

        public Criteria andTeacheravgEqualTo(Float value) {
            addCriterion("teacheravg =", value, "teacheravg");
            return (Criteria) this;
        }

        public Criteria andTeacheravgNotEqualTo(Float value) {
            addCriterion("teacheravg <>", value, "teacheravg");
            return (Criteria) this;
        }

        public Criteria andTeacheravgGreaterThan(Float value) {
            addCriterion("teacheravg >", value, "teacheravg");
            return (Criteria) this;
        }

        public Criteria andTeacheravgGreaterThanOrEqualTo(Float value) {
            addCriterion("teacheravg >=", value, "teacheravg");
            return (Criteria) this;
        }

        public Criteria andTeacheravgLessThan(Float value) {
            addCriterion("teacheravg <", value, "teacheravg");
            return (Criteria) this;
        }

        public Criteria andTeacheravgLessThanOrEqualTo(Float value) {
            addCriterion("teacheravg <=", value, "teacheravg");
            return (Criteria) this;
        }

        public Criteria andTeacheravgIn(List<Float> values) {
            addCriterion("teacheravg in", values, "teacheravg");
            return (Criteria) this;
        }

        public Criteria andTeacheravgNotIn(List<Float> values) {
            addCriterion("teacheravg not in", values, "teacheravg");
            return (Criteria) this;
        }

        public Criteria andTeacheravgBetween(Float value1, Float value2) {
            addCriterion("teacheravg between", value1, value2, "teacheravg");
            return (Criteria) this;
        }

        public Criteria andTeacheravgNotBetween(Float value1, Float value2) {
            addCriterion("teacheravg not between", value1, value2, "teacheravg");
            return (Criteria) this;
        }

        public Criteria andTwoindexscoreIsNull() {
            addCriterion("twoIndexScore is null");
            return (Criteria) this;
        }

        public Criteria andTwoindexscoreIsNotNull() {
            addCriterion("twoIndexScore is not null");
            return (Criteria) this;
        }

        public Criteria andTwoindexscoreEqualTo(String value) {
            addCriterion("twoIndexScore =", value, "twoindexscore");
            return (Criteria) this;
        }

        public Criteria andTwoindexscoreNotEqualTo(String value) {
            addCriterion("twoIndexScore <>", value, "twoindexscore");
            return (Criteria) this;
        }

        public Criteria andTwoindexscoreGreaterThan(String value) {
            addCriterion("twoIndexScore >", value, "twoindexscore");
            return (Criteria) this;
        }

        public Criteria andTwoindexscoreGreaterThanOrEqualTo(String value) {
            addCriterion("twoIndexScore >=", value, "twoindexscore");
            return (Criteria) this;
        }

        public Criteria andTwoindexscoreLessThan(String value) {
            addCriterion("twoIndexScore <", value, "twoindexscore");
            return (Criteria) this;
        }

        public Criteria andTwoindexscoreLessThanOrEqualTo(String value) {
            addCriterion("twoIndexScore <=", value, "twoindexscore");
            return (Criteria) this;
        }

        public Criteria andTwoindexscoreLike(String value) {
            addCriterion("twoIndexScore like", value, "twoindexscore");
            return (Criteria) this;
        }

        public Criteria andTwoindexscoreNotLike(String value) {
            addCriterion("twoIndexScore not like", value, "twoindexscore");
            return (Criteria) this;
        }

        public Criteria andTwoindexscoreIn(List<String> values) {
            addCriterion("twoIndexScore in", values, "twoindexscore");
            return (Criteria) this;
        }

        public Criteria andTwoindexscoreNotIn(List<String> values) {
            addCriterion("twoIndexScore not in", values, "twoindexscore");
            return (Criteria) this;
        }

        public Criteria andTwoindexscoreBetween(String value1, String value2) {
            addCriterion("twoIndexScore between", value1, value2, "twoindexscore");
            return (Criteria) this;
        }

        public Criteria andTwoindexscoreNotBetween(String value1, String value2) {
            addCriterion("twoIndexScore not between", value1, value2, "twoindexscore");
            return (Criteria) this;
        }

        public Criteria andStudenttwoindexscoreIsNull() {
            addCriterion("studentTwoIndexScore is null");
            return (Criteria) this;
        }

        public Criteria andStudenttwoindexscoreIsNotNull() {
            addCriterion("studentTwoIndexScore is not null");
            return (Criteria) this;
        }

        public Criteria andStudenttwoindexscoreEqualTo(String value) {
            addCriterion("studentTwoIndexScore =", value, "studenttwoindexscore");
            return (Criteria) this;
        }

        public Criteria andStudenttwoindexscoreNotEqualTo(String value) {
            addCriterion("studentTwoIndexScore <>", value, "studenttwoindexscore");
            return (Criteria) this;
        }

        public Criteria andStudenttwoindexscoreGreaterThan(String value) {
            addCriterion("studentTwoIndexScore >", value, "studenttwoindexscore");
            return (Criteria) this;
        }

        public Criteria andStudenttwoindexscoreGreaterThanOrEqualTo(String value) {
            addCriterion("studentTwoIndexScore >=", value, "studenttwoindexscore");
            return (Criteria) this;
        }

        public Criteria andStudenttwoindexscoreLessThan(String value) {
            addCriterion("studentTwoIndexScore <", value, "studenttwoindexscore");
            return (Criteria) this;
        }

        public Criteria andStudenttwoindexscoreLessThanOrEqualTo(String value) {
            addCriterion("studentTwoIndexScore <=", value, "studenttwoindexscore");
            return (Criteria) this;
        }

        public Criteria andStudenttwoindexscoreLike(String value) {
            addCriterion("studentTwoIndexScore like", value, "studenttwoindexscore");
            return (Criteria) this;
        }

        public Criteria andStudenttwoindexscoreNotLike(String value) {
            addCriterion("studentTwoIndexScore not like", value, "studenttwoindexscore");
            return (Criteria) this;
        }

        public Criteria andStudenttwoindexscoreIn(List<String> values) {
            addCriterion("studentTwoIndexScore in", values, "studenttwoindexscore");
            return (Criteria) this;
        }

        public Criteria andStudenttwoindexscoreNotIn(List<String> values) {
            addCriterion("studentTwoIndexScore not in", values, "studenttwoindexscore");
            return (Criteria) this;
        }

        public Criteria andStudenttwoindexscoreBetween(String value1, String value2) {
            addCriterion("studentTwoIndexScore between", value1, value2, "studenttwoindexscore");
            return (Criteria) this;
        }

        public Criteria andStudenttwoindexscoreNotBetween(String value1, String value2) {
            addCriterion("studentTwoIndexScore not between", value1, value2, "studenttwoindexscore");
            return (Criteria) this;
        }

        public Criteria andColleaguetwoindexscoreIsNull() {
            addCriterion("colleagueTwoIndexScore is null");
            return (Criteria) this;
        }

        public Criteria andColleaguetwoindexscoreIsNotNull() {
            addCriterion("colleagueTwoIndexScore is not null");
            return (Criteria) this;
        }

        public Criteria andColleaguetwoindexscoreEqualTo(String value) {
            addCriterion("colleagueTwoIndexScore =", value, "colleaguetwoindexscore");
            return (Criteria) this;
        }

        public Criteria andColleaguetwoindexscoreNotEqualTo(String value) {
            addCriterion("colleagueTwoIndexScore <>", value, "colleaguetwoindexscore");
            return (Criteria) this;
        }

        public Criteria andColleaguetwoindexscoreGreaterThan(String value) {
            addCriterion("colleagueTwoIndexScore >", value, "colleaguetwoindexscore");
            return (Criteria) this;
        }

        public Criteria andColleaguetwoindexscoreGreaterThanOrEqualTo(String value) {
            addCriterion("colleagueTwoIndexScore >=", value, "colleaguetwoindexscore");
            return (Criteria) this;
        }

        public Criteria andColleaguetwoindexscoreLessThan(String value) {
            addCriterion("colleagueTwoIndexScore <", value, "colleaguetwoindexscore");
            return (Criteria) this;
        }

        public Criteria andColleaguetwoindexscoreLessThanOrEqualTo(String value) {
            addCriterion("colleagueTwoIndexScore <=", value, "colleaguetwoindexscore");
            return (Criteria) this;
        }

        public Criteria andColleaguetwoindexscoreLike(String value) {
            addCriterion("colleagueTwoIndexScore like", value, "colleaguetwoindexscore");
            return (Criteria) this;
        }

        public Criteria andColleaguetwoindexscoreNotLike(String value) {
            addCriterion("colleagueTwoIndexScore not like", value, "colleaguetwoindexscore");
            return (Criteria) this;
        }

        public Criteria andColleaguetwoindexscoreIn(List<String> values) {
            addCriterion("colleagueTwoIndexScore in", values, "colleaguetwoindexscore");
            return (Criteria) this;
        }

        public Criteria andColleaguetwoindexscoreNotIn(List<String> values) {
            addCriterion("colleagueTwoIndexScore not in", values, "colleaguetwoindexscore");
            return (Criteria) this;
        }

        public Criteria andColleaguetwoindexscoreBetween(String value1, String value2) {
            addCriterion("colleagueTwoIndexScore between", value1, value2, "colleaguetwoindexscore");
            return (Criteria) this;
        }

        public Criteria andColleaguetwoindexscoreNotBetween(String value1, String value2) {
            addCriterion("colleagueTwoIndexScore not between", value1, value2, "colleaguetwoindexscore");
            return (Criteria) this;
        }

        public Criteria andSupervisortwoindexscoreIsNull() {
            addCriterion("supervisorTwoIndexScore is null");
            return (Criteria) this;
        }

        public Criteria andSupervisortwoindexscoreIsNotNull() {
            addCriterion("supervisorTwoIndexScore is not null");
            return (Criteria) this;
        }

        public Criteria andSupervisortwoindexscoreEqualTo(String value) {
            addCriterion("supervisorTwoIndexScore =", value, "supervisortwoindexscore");
            return (Criteria) this;
        }

        public Criteria andSupervisortwoindexscoreNotEqualTo(String value) {
            addCriterion("supervisorTwoIndexScore <>", value, "supervisortwoindexscore");
            return (Criteria) this;
        }

        public Criteria andSupervisortwoindexscoreGreaterThan(String value) {
            addCriterion("supervisorTwoIndexScore >", value, "supervisortwoindexscore");
            return (Criteria) this;
        }

        public Criteria andSupervisortwoindexscoreGreaterThanOrEqualTo(String value) {
            addCriterion("supervisorTwoIndexScore >=", value, "supervisortwoindexscore");
            return (Criteria) this;
        }

        public Criteria andSupervisortwoindexscoreLessThan(String value) {
            addCriterion("supervisorTwoIndexScore <", value, "supervisortwoindexscore");
            return (Criteria) this;
        }

        public Criteria andSupervisortwoindexscoreLessThanOrEqualTo(String value) {
            addCriterion("supervisorTwoIndexScore <=", value, "supervisortwoindexscore");
            return (Criteria) this;
        }

        public Criteria andSupervisortwoindexscoreLike(String value) {
            addCriterion("supervisorTwoIndexScore like", value, "supervisortwoindexscore");
            return (Criteria) this;
        }

        public Criteria andSupervisortwoindexscoreNotLike(String value) {
            addCriterion("supervisorTwoIndexScore not like", value, "supervisortwoindexscore");
            return (Criteria) this;
        }

        public Criteria andSupervisortwoindexscoreIn(List<String> values) {
            addCriterion("supervisorTwoIndexScore in", values, "supervisortwoindexscore");
            return (Criteria) this;
        }

        public Criteria andSupervisortwoindexscoreNotIn(List<String> values) {
            addCriterion("supervisorTwoIndexScore not in", values, "supervisortwoindexscore");
            return (Criteria) this;
        }

        public Criteria andSupervisortwoindexscoreBetween(String value1, String value2) {
            addCriterion("supervisorTwoIndexScore between", value1, value2, "supervisortwoindexscore");
            return (Criteria) this;
        }

        public Criteria andSupervisortwoindexscoreNotBetween(String value1, String value2) {
            addCriterion("supervisorTwoIndexScore not between", value1, value2, "supervisortwoindexscore");
            return (Criteria) this;
        }

        public Criteria andMylabelrankIsNull() {
            addCriterion("myLabelRank is null");
            return (Criteria) this;
        }

        public Criteria andMylabelrankIsNotNull() {
            addCriterion("myLabelRank is not null");
            return (Criteria) this;
        }

        public Criteria andMylabelrankEqualTo(String value) {
            addCriterion("myLabelRank =", value, "mylabelrank");
            return (Criteria) this;
        }

        public Criteria andMylabelrankNotEqualTo(String value) {
            addCriterion("myLabelRank <>", value, "mylabelrank");
            return (Criteria) this;
        }

        public Criteria andMylabelrankGreaterThan(String value) {
            addCriterion("myLabelRank >", value, "mylabelrank");
            return (Criteria) this;
        }

        public Criteria andMylabelrankGreaterThanOrEqualTo(String value) {
            addCriterion("myLabelRank >=", value, "mylabelrank");
            return (Criteria) this;
        }

        public Criteria andMylabelrankLessThan(String value) {
            addCriterion("myLabelRank <", value, "mylabelrank");
            return (Criteria) this;
        }

        public Criteria andMylabelrankLessThanOrEqualTo(String value) {
            addCriterion("myLabelRank <=", value, "mylabelrank");
            return (Criteria) this;
        }

        public Criteria andMylabelrankLike(String value) {
            addCriterion("myLabelRank like", value, "mylabelrank");
            return (Criteria) this;
        }

        public Criteria andMylabelrankNotLike(String value) {
            addCriterion("myLabelRank not like", value, "mylabelrank");
            return (Criteria) this;
        }

        public Criteria andMylabelrankIn(List<String> values) {
            addCriterion("myLabelRank in", values, "mylabelrank");
            return (Criteria) this;
        }

        public Criteria andMylabelrankNotIn(List<String> values) {
            addCriterion("myLabelRank not in", values, "mylabelrank");
            return (Criteria) this;
        }

        public Criteria andMylabelrankBetween(String value1, String value2) {
            addCriterion("myLabelRank between", value1, value2, "mylabelrank");
            return (Criteria) this;
        }

        public Criteria andMylabelrankNotBetween(String value1, String value2) {
            addCriterion("myLabelRank not between", value1, value2, "mylabelrank");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}